package com.ruoyi.pingan.fymodule.account.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author wangy
 * @date 2023.3.23
 * @description 状态
 */
@Getter
@AllArgsConstructor
public enum StatusEnum {
    ENABLED("0", "正常"),
    CLOSED("1", "停用");



    public final String status;
    public final String desc;

    public boolean match(String status) {
        return this.status.equals(status);
    }
}
